package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblWpDeliveryUnitPrice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * WP-唯品发货单价 Mapper 接口
 * @author Ximi
 * @since 2020-10-30
 */
public interface TblWpDeliveryUnitPriceMapper extends BaseMapper {
    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     */
    public TblWpDeliveryUnitPrice getFoot(@Param("params") Map<String, Object> params);

    /**
     * 删除数据 通过批次编号
     *
     * @param minBatchNumber
     * @param maxBatchNumber
     */
    public void deleteByBatchNumbers(@Param("minBatchNumber") String minBatchNumber, @Param("maxBatchNumber") String maxBatchNumber);

    /**
     * 批量新增
     *
     * @param list
     */
    public void batchAdd(List<TblWpDeliveryUnitPrice> list);
}

